<?php

namespace app\thirdPay\controller;
use app\common\controller\DBase;
use app\thirdPay\logic\AirwallexServiceLogic;

class Airwallex extends DBase
{

    /**
     * @desc     获取空中云汇token
     */
    public function GetPaymentsAirwallexToken(){
        $data   = $this->request->get();
        return    (new AirwallexServiceLogic())->GetPaymentsAirwallexToken($data);
    }

    /**
     * @desc     获取空中云汇回款
     */
    public function GetPaymentsAirwallex(){
        $data   = $this->request->get();
        return    (new AirwallexServiceLogic())->GetPaymentsAirwallex($data);
    }

    /**
     * @desc     测试
     */
    public function AirwallexTest(){
        $data   = $this->request->get();
        return    (new AirwallexServiceLogic())->AirwallexTest($data);
    }


}